package cj.com.chabaike.ui.utils;
import android.content.Context;
import android.content.res.Resources;
import android.graphics.Bitmap;

import com.lidroid.xutils.BitmapUtils;
import com.lidroid.xutils.bitmap.BitmapDisplayConfig;

import cj.com.chabaike.R;

/**
 * Created by CJLAB on 2015/8/10.
 */
public class HttpBitMapHelp {
    private HttpBitMapHelp(){}

    private static BitmapUtils httpBitMapHelp;



    /**
     * BitmapUtils不是单例的 根据需要重载多个获取实例的方法
     *
     * @param appContext application context
     * @return
     */
    public static BitmapUtils getBitmapUtils(Context appContext) {
        if (httpBitMapHelp == null) {
            httpBitMapHelp = new BitmapUtils(appContext);


        }
        return httpBitMapHelp;
    }




}
